import Vue from 'vue'
import App from '@/App.vue'
import store from './store'
import router from '@/router/index'
import BaiduMap from 'vue-baidu-map'
import { NavBar, Tabbar, TabbarItem, Form, Field, Button, Toast, Grid, GridItem, SwipeCell, Cell, CellGroup, Card, Tag, Swipe, SwipeItem, Lazyload, Search, Icon, Image as VanImage, Cascader, Popup, Picker, Uploader, IndexBar, IndexAnchor, Tab, Tabs, Area, DropdownMenu, DropdownItem, List } from 'vant'

Vue.use(List)
Vue.use(BaiduMap, {
  ak: 'ob8G2QPWHOAqtUfiimjG3Vh3CGN7wu9z'
})
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Area)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Uploader)
Vue.use(Picker)
Vue.use(Popup)
Vue.use(Cascader)
Vue.use(VanImage)
Vue.use(Icon)
Vue.use(Search)
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Tag)
Vue.use(Card)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(SwipeCell)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Toast)
Vue.use(Button)
Vue.use(Form)
Vue.use(Field)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
